﻿using Newtonsoft.Json;
using OneSpider.Models.ResultModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OneSpider.Models.ResultModelV2
{
    public class ArticleResult
    {
        [JsonProperty("id")]
        public int Id { get; set; }

        [JsonProperty("category")]
        public string Category { get; set; }

        [JsonProperty("display_category")]
        public int DisplayCategory { get; set; }

        [JsonProperty("item_id")]
        public string ItemId { get; set; }

        [JsonProperty("title")]
        public string Title { get; set; }

        [JsonProperty("forward")]
        public string Forward { get; set; }

        [JsonProperty("img_url")]
        public string ImgUrl { get; set; }

        [JsonProperty("like_count")]
        public int LikeCount { get; set; }

        [JsonProperty("post_date")]
        public DateTime PostDate { get; set; }

        [JsonProperty("last_update_date")]
        public string LastUpdateDate { get; set; }

        [JsonProperty("author")]
        public AuthorResult Author { get; set; }

        [JsonProperty("video_url")]
        public string VideoUrl { get; set; }

        [JsonProperty("audio_url")]
        public string AudioUrl { get; set; }

        [JsonProperty("audio_platform")]
        public int AudioPlatform { get; set; }

        [JsonProperty("start_video")]
        public string StartVideo { get; set; }

        [JsonProperty("has_reading")]
        public int HasReading { get; set; }

        [JsonProperty("volume")]
        public int Volume { get; set; }

        [JsonProperty("pic_info")]
        public string PicInfo { get; set; }

        [JsonProperty("words_info")]
        public string WordsInfo { get; set; }

        [JsonProperty("subtitle")]
        public string Subtitle { get; set; }

        [JsonProperty("number")]
        public int Number { get; set; }

        [JsonProperty("serial_id")]
        public int SerialId { get; set; }

        [JsonProperty("serial_list")]
        public IList<object> SerialList { get; set; }

        [JsonProperty("movie_story_id")]
        public int MovieStoryId { get; set; }

        [JsonProperty("ad_id")]
        public int AdId { get; set; }

        [JsonProperty("ad_type")]
        public int AdType { get; set; }

        [JsonProperty("ad_pvurl")]
        public string AdPvurl { get; set; }

        [JsonProperty("ad_linkurl")]
        public string AdLinkurl { get; set; }

        [JsonProperty("ad_makettime")]
        public string AdMakeTime { get; set; }

        [JsonProperty("ad_closetime")]
        public string AdClosetime { get; set; }

        [JsonProperty("ad_share_cnt")]
        public string AdShareCnt { get; set; }

        [JsonProperty("ad_pvurl_vendor")]
        public string AdPvurlVendor { get; set; }

        [JsonProperty("content_id")]
        public int ContentId { get; set; }

        [JsonProperty("content_type")]
        public string ContentType { get; set; }

        [JsonProperty("content_bgcolor")]
        public string ContentBgcolor { get; set; }

        [JsonProperty("share_url")]
        public string ShareUrl { get; set; }

        //[JsonProperty("share_info")]
        //public ShareInfo ShareInfo { get; set; }

        //[JsonProperty("share_list")]
        //public ShareList ShareList { get; set; }

        [JsonProperty("tag_list")]
        public List<TagResult> TagList { get; set; }

        [JsonProperty("date")]
        public string Date { get; set; }

        [JsonProperty("url")]
        public string Url { get; set; }
    }
}